package com.cskaoyan.connectionpool.connection;

import com.mysql.jdbc.JDBC4Connection;

import java.sql.SQLException;
import java.util.Properties;

/**
 * 创建日期: 2022/07/01 11:29
 *
 * @author ciggar
 */
public class MyConnection extends JDBC4Connection {

    public MyConnection(String hostToConnectTo, int portToConnectTo, Properties info, String databaseToConnectTo, String url) throws SQLException {
        super(hostToConnectTo, portToConnectTo, info, databaseToConnectTo, url);
    }



    @Override
    public void close() throws SQLException {


        // 返回连接到连接池


    }
}
